package cn.ticket.service;

import java.util.List;

import cn.ticket.model.Routes;

public interface RoutesService {
	  int deleteByPrimaryKey(Short id);

	    int insert(Routes record);

	    int insertSelective(Routes record);

	    Routes selectByPrimaryKey(Short id);

	    int updateByPrimaryKeySelective(Routes record);

	    int updateByPrimaryKey(Routes record);
	    
	    List<Routes> getAll();
	    
	    List<Routes> getByIdLimit(Integer startId,Integer endId);
	    
	    List<Routes> getByOrientation(String orientation);
}
